$(function(){
	showCondition(true);
	paramTabPage[tabId]= $("#tabContent > .tab-pane.active").data();
	var totalQuota=[{code:'drg',name:'DRG指标',data:[{name:"产能指标", data:[{"quotaCode":"CMI", "quotaName":"CMI值"}, 
					                                     {"quotaCode":"DRGCount", "quotaName":"DRGs组数"}, 
					                                     {"quotaCode":"TotalWeight", "quotaName":"总权重"},
					                                     {"quotaCode":"InCaseCnt", "quotaName":"入组病例数"}/*,
					                                     {"quotaCode":"T", "quotaName":"单位床产出"}*/]},
					                       {name:"效率指标", data:[{"quotaCode":"TimeEff","quotaName":"时间消耗指数"},
					                                     {"quotaCode":"FeeEff", "quotaName":"费用消耗指数"},
					                                     {"quotaCode":"BaseFee", "quotaName":"患者基本费率"}]},
					                       {name:"安全指标", data:[{"quotaCode":"Risk1Ratio", "quotaName":"低风险死亡率","quotaType":"ratio"},
					                                     {"quotaCode":"Risk2Ratio", "quotaName":"中低风险死亡率","quotaType":"ratio"},
					                                     {"quotaCode":"CureRatio", "quotaName":"治愈好转率","quotaType":"ratio"}]}
					                  ]}
					]
	
	
	//全院指标 (1.depGroup 2.All)
//	loadyzhangAllQuota(paramTabPage[tabId].monitorType,"All",totalQuota,"depallQuotasId","hosp-ul");
	loadHospQuota(paramTabPage[tabId].monitorType, totalQuota, "depallQuotasId");
	//加载并拼接下半部分div布局
	
	loadDepGroupDrgsQuota(totalQuota,"科室","depQuotasId","depgroup-ul");
	 //为下半部分加载数据 
	loadDepGroupQuotaData(totalQuota,"dep","","");
    //移除正在加载数据部分
	$(document).ajaxStop(function(){
		
	});	
});

